home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-01 | 1.2 KB | 36 lines | [TEXT/ttxt] |
- Another itty bitty bytes(tm) public domain source code demo, by
- kenlong@netcom.com."
-
- Puts up a window, draws 4 scroll bars with values of 0 to 15, then
- "converts" control values int hex, decimal and bit values for the
- two bytes they represent.
-
- That's 0x0000 to 0xffff, 0 to 65535 and 0000000000000000 to
- 1111111111111111, respectively.
-
- The "conversion" was done with switched DrawString substitutes for
- control values passed. I used two routines for this, but it
- could have been done with one and a nested (double) switch based
- on where (which rect) it was to be drawn into. Don't anyone ever
- acuse me of using optimum code! :^)
-
- Doesn't have key input or copy-out capability, but then I wasn't
- demo'ing that. :^) You can add it if you like, then repost.
-
- Just a little something I tossed together out of a Bullseye shell,
- in combination with Earthplot control handling parts.
-
- I was just fiddling around with some drawing of strings and
- frames. The "embossing" isn't really embossing because it looks
- "raised" whereas embossing looks "sunken."
-
- What's next? I'm going to *really* make it complicated by making
- it into "RGBThing."
-
- One more thing, it won't run on a B/W Mac. Get into the 20th
- century! Color is the cool thing!
-
- Enjoy!
-
- kenlong@netcom.com
-